package org.thingsboard.server.dao.jpa;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "T_DEVICE")
public class TDevice  implements Serializable {
	@Id
	@Column(name = "DEVICE_ID")
	private String deviceId;

	@Column(name = "DEVICE_CODE")
	private String deviceCode;

	@Column(name = "DEVICE_NAME")
	private String deviceName;

	@Column(name = "DTYPE_CODE")
	private String dtypeCode;

	@Column(name = "MODEL_CODE")
	private String modelCode;

	@Column(name = "COMPANY_CODE")
	private String companyCode;

	@Column(name = "GATEWAY_CODE")
	private String gatewayCode;

	@Column(name = "DEVICE_STATUS")
	private String deviceStatus;

	@Column(name = "DEVICE_ARG")
	private String deviceArg;

}
